package com.winxuan.channel.service.commodity;

import java.util.List;

import com.winxuan.channel.model.commodity.CommodityExclude;
import com.winxuan.util.pagination.Pagination;

public interface ExcludeService {

	/**
	 * 通过渠道或者商品获取排除商品
	 * @param distribute
	 * @param commodity
	 * @param pagination
	 * @return
	 */
	public List<CommodityExclude> getExcludeCommodityByDistribute(Integer distribute,Integer commodity,Pagination pagination);

	public boolean addExcludeCommodity(CommodityExclude commodityExclude);
	
	public boolean updateExcludeCommodity(CommodityExclude commodityExclude);
	
	public boolean delelteExcludeCommodity(CommodityExclude commodityExclude);
	
	public CommodityExclude getExcludeCommodity(Integer id);

}
